#include<iostream>
#include"vector.cpp"

using namespace myv;

int main(){
    Vector<int> v1;
	v1.push_back(1);
    v1.push_back(2);
    v1.push_back(3);
    v1.push_back(4);
	for (size_t i = 0; i < v1.size(); ++i){
		std::cout << v1[i];
	}
    std::cout << std::endl;
    v1.clear();
    v1.push_back(1);
    v1.push_back(2);
    v1.push_back(3);
    for (size_t i = 0; i < v1.size(); ++i){
		std::cout << v1[i];
	}
    std::cout << std::endl;
    v1.pop_back();
    for (size_t i = 0; i < v1.size(); ++i)
	{
		std::cout << v1[i];
	}
    std::cout << std::endl;
    return 0;
}